package com.bzkj.basicinfo.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 易联云码平台配置
 * 
 * @author lixinyu
 * @date 2025-01-20
 */
@Component
@ConfigurationProperties(prefix = "yilianyunma")
public class YiLianYunMaConfig
{
    /** 易联云码平台服务地址 */
    private String baseUrl = "http://121.40.27.1:8888/prod-api";
    
    /** 获取Token接口地址 */
    private String tokenUrl = "/drug-trace/getToken";
    
    /** 配送企业院内入库接口地址 */
    private String deliveryUrl = "/traceCodeDeliveryBill/submitDeliveryBill";
    
    /** 登录账号 */
    private String username;
    
    /** 账号密码 */
    private String password;
    
    /** 配送企业名称 */
    private String fromEntName;
    
    /** 配送企业统一社会信用代码(企业ID) */
    private String fromCreditCode;

    public String getBaseUrl()
    {
        return baseUrl;
    }

    public void setBaseUrl(String baseUrl)
    {
        this.baseUrl = baseUrl;
    }

    public String getTokenUrl()
    {
        return tokenUrl;
    }

    public void setTokenUrl(String tokenUrl)
    {
        this.tokenUrl = tokenUrl;
    }

    public String getDeliveryUrl()
    {
        return deliveryUrl;
    }

    public void setDeliveryUrl(String deliveryUrl)
    {
        this.deliveryUrl = deliveryUrl;
    }

    public String getUsername()
    {
        return username;
    }

    public void setUsername(String username)
    {
        this.username = username;
    }

    public String getPassword()
    {
        return password;
    }

    public void setPassword(String password)
    {
        this.password = password;
    }

    public String getFromEntName()
    {
        return fromEntName;
    }

    public void setFromEntName(String fromEntName)
    {
        this.fromEntName = fromEntName;
    }

    public String getFromCreditCode()
    {
        return fromCreditCode;
    }

    public void setFromCreditCode(String fromCreditCode)
    {
        this.fromCreditCode = fromCreditCode;
    }
}
